home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-04-03 | 1.2 KB | 69 lines | [TEXT/PJMM] |
- { This file has been processed by The THINK Pascal Source Converter, v1.1. }
-
- {
- Created: Sunday, January 6, 1991 at 10:50 PM
- Notification.p
- Pascal Interface to the Macintosh Libraries
-
- Copyright Apple Computer, Inc. 1989-90
- All rights reserved
- }
-
-
- {$IFC UNDEFINED UsingIncludes}
- {$SETC UsingIncludes := 0}
- {$ENDC}
-
-
- UNIT Notification;
- INTERFACE USES Types,OSUtils;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CONST
- nmType = 8;
-
- TYPE
- NMRecPtr = ^NMRec;
- NMRec = RECORD
- qLink: QElemPtr; {next queue entry}
- qType: INTEGER; {queue type -- ORD(nmType) = 8}
- nmFlags: INTEGER; {reserved}
- nmPrivate: LONGINT; {reserved}
- nmReserved: INTEGER; {reserved}
- nmMark: INTEGER; {item to mark in Apple menu}
- nmIcon: Handle; {handle to small icon}
- nmSound: Handle; {handle to sound record}
- nmStr: StringPtr; {string to appear in alert}
- nmResp: ProcPtr; {pointer to response routine}
- nmRefCon: LONGINT; {for application use}
- END;
-
-
- FUNCTION NMInstall(nmReqPtr: NMRecPtr): OSErr;
- INLINE $205F,$A05E,$3E80;
- FUNCTION NMRemove(nmReqPtr: NMRecPtr): OSErr;
- INLINE $205F,$A05F,$3E80;
-
-
- { UsingNotification }
-
-
- IMPLEMENTATION
- END.
-
-
-